Linear Transformations

Introduction

Linear transformations are one of the most powerful ideas in linear algebra.
You already know how to compute a matrix–vector product.
Now we take the next step: understanding matrices as functions that *act* on space.

Key ideas we’ll explore:

What Is a Linear Transformation?

A linear transformation is a function $T$ between vector spaces that satisfies:

If both hold, the function is linear.

Examples of linear transformations:

Non‑examples:

Matrices as Linear Transformations

You already know how to compute $A x$.
Now we reinterpret it:

Why this matters:

Geometric Intuition

A matrix can:

Don't worry about understanding how these different transformations work. All you need to understand is that each matrix has a “signature” effect on space.

How Matrices Act on Basis Vectors

A powerful viewpoint:

For $\mathbb{R}^2$:

So the columns of $A$ tell you:

This makes visualization much easier.

Composition of Linear Transformations

If $T$ and $S$ are linear transformations, then:

This is why matrix multiplication is defined the way it is.

Common Examples

1. Scaling

$$A = \begin{pmatrix}3 & 0 \\ 0 & 3\end{pmatrix}$$ Effect: stretches space by factor 3.

2. Projection onto the $x$‑axis

$$P = \begin{pmatrix}1 & 0 \\ 0 & 0\end{pmatrix}$$ Effect: collapses all points onto the $x$‑axis.

3. Reflection across the line $y = x$

$$R = \begin{pmatrix}0 & 1 \\ 1 & 0\end{pmatrix}$$

Exercises

  1. Compute the linear transformation $A x$ for
    $A = \begin{pmatrix}2 & 1 \\ 0 & 3\end{pmatrix}$ and $x = (1,4)$.

    Solution

    $$A x = (2\cdot1 + 1\cdot4,\; 0\cdot1 + 3\cdot4) = (6,12)$$
  2. Describe in words the geometric effect of
    $A = \begin{pmatrix}1 & 2 \\ 0 & 1\end{pmatrix}$.

    Solution


    The matrix shears the plane horizontally: it keeps $y$ the same but shifts $x$ by $2y$.
  3. Determine whether the transformation
    $T(x,y) = (2x + y,\, 3y + 1)$
    is linear.

    Solution


    Not linear: the constant $+1$ breaks homogeneity.
  4. Compute the image of the basis vectors $e_1$ and $e_2$ under
    $A = \begin{pmatrix}0 & -1 \\ 1 & 0\end{pmatrix}$.

    Solution

    • $A e_1 = (0,1)$
    • $A e_2 = (-1,0)$
    This is a $90^\circ$ rotation.
  5. For the matrix
    $A = \begin{pmatrix}3 & 0 \\ 0 & -2\end{pmatrix}$,
    describe the combined geometric effect.

    Solution


    The matrix stretches by 3 in the $x$‑direction and reflects + stretches by 2 in the $y$‑direction.
  6. True or false: The function $T(x,y) = (x+y,\, xy)$ is linear.

    Solution


    False: the $xy$ term is nonlinear.
  7. Compute the composition $B(Ax)$ for
    $A = \begin{pmatrix}1 & 1 \\ 0 & 1\end{pmatrix}$,
    $B = \begin{pmatrix}2 & 0 \\ 0 & 2\end{pmatrix}$,
    and $x = (2,3)$.

    Solution


    First compute $A x = (2+3,\; 3) = (5,3)$.
    Then $B(Ax) = (10,6)$.